home *** CD-ROM | disk | FTP | other *** search
- { Demonstrates: Dynamically loaded BGI file. }
-
- { Super VGA BGI graphics driver }
- { Thomas Design }
- { Nov. 28, 1989 }
- { Test routine }
-
- uses
- Graph,crt,ISVGADET,VGAEXTRA;
-
- var
- Gd, Gm : integer;
- count : integer;
- DAC : RGB; { define the DAC array (type in TPU) }
-
- begin
- Gd := InstallUserDriver('ISVGA256',@_DetectISVGA256); { must say gd := Install... to work }
- Gd := DETECT;
- InitGraph(Gd, gm ,'');
- outtextxy(0,50,getmodename(gm));
- outtextxy(getmaxx div 2,getmaxy div 2,'Hello World');
- repeat until keypressed;
- restorecrtmode;
- end.
-